<?php
session_start();
//error_log(date('d-m-Y G:i:s').' .. '.$_SERVER['REMOTE_ADDR'].' ...'.$modulo.'... '.serialize($_REQUEST).' -ses- '.serialize($_SESSION).'-ref- '.$_SERVER["HTTP_REFERER"]."\n",3,"/internet/datos/WWW/docs/servicios/portal-PE/docs/terrarock/captcha_log/".$_SERVER['REMOTE_ADDR'].".log");
include_once("graphics3.php");
if($_REQUEST["capt"]!='' && (strstr($_SERVER["HTTP_REFERER"],"www.terra.com.pe")||strstr($_SERVER["HTTP_REFERER"],"exportatusideas.com")) && $_REQUEST["tkc"] >=1 ){
	$randNumber = $_REQUEST["capt"];
	$graphics = new graphics();
	$graphics->generateValidationImage($randNumber,$_REQUEST["tkc"]);	
}
?>